package house;

public class House {
	private int id;
	private String type;
	private double area;
	private int price;
	private String location;
	private boolean rent;
	
	public House() {
		super();
	}
	public House(int id, String type, double area, int price, String location, boolean rent) {
		super();
		this.id = id;
		this.type = type;
		this.area = area;
		this.price = price;
		this.location = location;
		this.rent = rent;
	}
	
	
	public House(int id, String type, double area, int price, String location) {
		super();
		this.id = id;
		this.type = type;
		this.area = area;
		this.price = price;
		this.location = location;
	}
	public House(int houseId) {
		this.id = houseId;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public double getArea() {
		return area;
	}
	public void setArea(double area) {
		this.area = area;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public boolean isRent() {
		return rent;
	}
	public void setRent(boolean rent) {
		this.rent = rent;
	}
}
